package io.renren.common.utils;

/**
 * @Title: ProjectConstant.java
 * @Description: 项目通用常量
 */
public abstract class ProjectConstant {

	public static final int COMMON_NO = 0;// no
	public static final int COMMON_YES = 1;// yes

	public static final int COMMON_STATUS_DISABLE = 0;// 禁用
	public static final int COMMON_STATUS_ENABLE = 1;// 启用
	public static final int COMMON_STATUS_BLOCKED = 2;// 冻结

	/** 审核状态 */
	public static final int AUTH_STATUS_SUBMIT = 0;// 已提交至第三方支付
	public static final int AUTH_STATUS_PENDING = 1;// 待审核
	public static final int AUTH_STATUS_SUCCESS = 2;// 充值或提现成功
	public static final int AUTH_STATUS_FAILED = 3;// 第三方支付返回失败
	public static final int AUTH_STATUS_REJECT = 4;// 审核拒绝

	/** 用户等级 */
	public static final int USER_LEVEL_INITIAL = 0;// 体验
	public static final int USER_LEVEL_NORMAL = 1;// 普通
	public static final int USER_LEVEL_ONE = 2;// 一级
	public static final int USER_LEVEL_TWO = 3;// 二级
	public static final int USER_LEVEL_THREE = 4;// 三级
	public static final int USER_LEVEL_FOUR = 5;// 四级
	public static final int USER_LEVEL_ROBOT = 10;// 机器人

	/**
	 * 伞下会员级别
	 */
	public static final int REC_LEVEL_ONE = 1;// 直推
	public static final int REC_LEVEL_TWO = 2;// 二级
	public static final int REC_LEVEL_THREE = 3;// 三级

	/**
	 * 短信验证码类型
	 */
	public static final int PHONECODE_TYPE_DOWNLOAD = 0;// 下载app
	public static final int PHONECODE_TYPE_BIND = 1;// 绑定手机
	public static final int PHONECODE_TYPE_LOGIN = 2;// 手机登录或注册

	/**
	 * 订单类型
	 */
	public static final int ORDER_TYPE_DEPOSIT = 0;// 充值
	public static final int ORDER_TYPE_WITHDRAW = 1;// 提现
	public static final int ORDER_TYPE_SEND_PACKET = 2;// 发红包
	public static final int ORDER_TYPE_GRAB_PACKET = 3;// 抢红包
	public static final int ORDER_TYPE_AGENCY_INCOME = 4;// 推广收益
	public static final int ORDER_TYPE_LANDMINE = 5;// 中雷收益
	public static final int ORDER_TYPE_RETURN = 6;// 未抢完退款
	public static final int ORDER_TYPE_PRIZE = 7;// 活动奖励

	/** 文件上传类型 */
	public static final int UPLOAD_TYPE_HEAD = 0;// 用户头像
	public static final int UPLOAD_TYPE_IDFRONT = 1;// 身份证正面
	public static final int UPLOAD_TYPE_IDBACK = 2;// 身份证反面
	public static final int UPLOAD_TYPE_ALIPAY = 3;// 支付宝收款码
	public static final int UPLOAD_TYPE_WECHAT = 4;// 微信收款码
	public static final int UPLOAD_TYPE_TRANS_PROOF = 5;// 交易凭证

	/** 红包状态 */
	public static final int PACKET_STATUS_INITIAL = 0;// 可抢
	public static final int PACKET_STATUS_FINISH = 1;// 抢完结束
	public static final int PACKET_STATUS_FINISH_ONE = 2;// 未完结束
	public static final int PACKET_STATUS_RETURN = 3;// 已退款

	/**
	 * 支付方式
	 */
	public static final int PAYMENT_TYPE_ALIPAY = 0;// 支付宝
	public static final int PAYMENT_TYPE_WECHAT = 1;// 微信
	public static final int PAYMENT_TYPE_UNIONPAY = 2;// 银联
}
